﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="searchResults.aspx.cs" Inherits="searchResults" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" Runat="Server">
<div style="width:500px; height:400px">
    <asp:Repeater ID="rpSearchResults" EnableViewState="true" runat="server">
        <ItemTemplate>
                <li style="margin-bottom:20px">
                    <a href='http://localhost:10742/web/detail.aspx?id=<%#Eval("LId") %>'><%#Eval("Feature")%></a>
                </li>
            </ItemTemplate>
        </asp:Repeater>
         <%=sb.ToString() %>
</div>

<div id="divPage">
       
      第 <asp:Label ID="pageNum" runat="server" Text="Label"></asp:Label>
&nbsp;页   
      共<asp:Label ID="pageCount" runat="server" Text="Label"></asp:Label>
&nbsp;页>   
  
        <asp:Button ID="btnpre" runat="server" CssClass="anniu" Text="上一页" onclick="btnpre_Click" 
            />
&nbsp;
       <asp:Button ID="btnnext" runat="server" CssClass="anniu" Text="下一页" onclick="btnnext_Click" 
            />
       <asp:TextBox ID="txtjump" runat="server" Width="59px"></asp:TextBox>
       <asp:Button ID="btnjump" runat="server" CssClass="anniu" 
            Text="跳转" ValidationGroup="group1" Width="54px" 
          onclick="btnjump_Click" />
       <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
          ErrorMessage="*" ValidationGroup="group1" ControlToValidate="txtjump" ForeColor="Red"></asp:RequiredFieldValidator>
      <asp:CompareValidator ID="CompareValidator1" runat="server" 
          ValidationGroup="group1"  ErrorMessage="*" ControlToValidate="txtjump" 
          ForeColor="Red" Operator="DataTypeCheck" Type="Integer"></asp:CompareValidator>
  </div>

</asp:Content>

